home *** CD-ROM | disk | FTP | other *** search
/ Software of the Month Club 1996 April / Software of the Month Club 1996 April.iso / pc / win / edu / profan2 / demo.lzh / EDIT.TXT < prev    next >
Encoding:
Text File  |  1995-07-31  |  10.1 KB  |  289 lines

  1. RGH-PROFAN-EDITOR 3.3
  2.  
  3. The editor is a complete developing environment for RGH-PROFAN. 
  4.  
  5. OVERVIEW
  6.  
  7. The editor is a "Multi-File" editor: You can edit multiple files at the same time.
  8. This allows you easy copying and switching between different programs using the
  9. clipboard. You don't have to exit the current program to view another program or
  10. text. 
  11.  
  12. New in version 2.0 was the option menu, font, project management and extended control 
  13. by keyboard. It is much faster to use a key/key combination when programming than 
  14. selecting a function from the menu.
  15.  
  16. In version 2.1 the drag and drop functionality was added: You can simply drag one 
  17. (or more) file(s) from the file manager to the editor or the editor icon to load 
  18. automatically.
  19.  
  20. There is also a INI file (PROFED.INI) that saves the current settings (font, 
  21. project file). IMPORTANT: To save the current settings for the next program start, 
  22. you have to exit the program with the menu item FILE/END. (To exit the program 
  23. without changing the current settings in the PROFED.INI, use the control menu.) 
  24.  
  25. In version 2.5 or higher the editor has typical Windows help and 3-D dialogs 
  26. if the appropriate DLL CTL3D.DLL is available on the system. If this DLL is not 
  27. available, the dialogs will be displayed as usual. A tool bar with the main 
  28. functions was added to this update as well as a status bar to display help for 
  29. each menu item. 
  30.  
  31. New in version 3.0 is the "Helper" menu item. What is sometimes referred to as
  32. either the "Wizard" or "Assistant" in other programs is called the Helper in Profan. 
  33. There is a helper to define and create records and a helper to modify records. 
  34. In addition there is a user defined menu where you can add the tools and programs 
  35. you use most frequently, for example the ICON editor. 
  36. In the menu "Profan" you are given the tools to create a customized Windows screen 
  37. saver that can be integrated in the "Desktop" item of the control panel. And finally 
  38. the current line number is now displayed in the status line (introduced in version 
  39. 2.5 or higher). New also is the context sensitive help that you can call using 
  40. <Shift-F1> to display help for the highlighted key word.
  41.  
  42. NOTE: The editor can process a maximum of 32 kB source code in every Window at a time. 
  43. For larger programs you should work with include files. 
  44. If you have problems with this limitation, check editors like "E! for Windows", 
  45. "WinEdit" (Wilson Windoware) and especially "PFE" that are well known by shareware 
  46. users.
  47.  
  48.  
  49. CALLING THE EDITOR
  50.  
  51. Calling with command line parameters 
  52.  
  53. When calling the editor, you can enter one or more files as command line parameters.
  54. The files are automatically loaded at startup. (The desktop of the last editor session 
  55. is not taken into account.) 
  56.  
  57. Calling without parameter 
  58.  
  59. If you call the editor without parameter (for example, with the program manager 
  60. icon) the desktop of the last session will be restored. All files that were processed 
  61. in the last session are displayed as before.
  62.  
  63. Drag and Drop 
  64.  
  65. You can drag a file (or several files) with the mouse from the file manager to the 
  66. editor or editor icon. This file will be loaded automatically.
  67.  
  68.  
  69. THE EDITOR MENU
  70.  
  71. File - New 
  72.  
  73. Writing a new RGH-PROFAN program. It is initially called "NONAME.PRF".
  74. If a program with that name exists, it will be loaded. It is recommended to save 
  75. the program with "Save as" with a new name.
  76.  
  77. File - Open 
  78.  
  79. An existing PROFAN file opens. (By changing the file mask you can load any text, 
  80. for example, include files or data files.)
  81.  
  82. File - Save 
  83.  
  84. The currently active PROFAN file will be saved with its name.
  85.  
  86. File - Save as 
  87.  
  88. The currently active PROFAN file can be saved with another name/path.
  89.  
  90. File - Printer settings 
  91.  
  92. You can choose a printer and printer settings.
  93.  
  94. File - Print program 
  95.  
  96. Calls the print program "RGH-DRUCK". Because the print program reads the file from 
  97. the hard drive and not from the editor, the program checks if changed files are 
  98. saved and prompts you to save the files now.
  99.  
  100. File - File manager 
  101.  
  102. Calls the file manager.
  103.  
  104. File - Calling the program 
  105.  
  106. You can call any EXE program with this menu item.
  107.  
  108. File - End 
  109.  
  110. Closes the editor. You will be prompted to save every unsaved program.
  111.  
  112. EDIT - Undo 
  113.  
  114. In some cases you can undo your last action. To do this, press ALT and 
  115. the backspace key at the same time. It is not always recommended to use 
  116. the menu option.
  117.  
  118. EDIT - Cut 
  119.  
  120. Copies the highlighted text to the clip board and removes it from the program. 
  121.  
  122. EDIT - Copy 
  123.  
  124. Copies the highlighted text to the clipboard but does not remove it from the program. 
  125.  
  126. EDIT - Insert 
  127.  
  128. Inserts the text from the clipboard at cursor position. 
  129.  
  130. EDIT - Delete 
  131.  
  132. Deletes the highlighted text. 
  133.  
  134. EDIT - Delete all 
  135.  
  136. Deletes the entire text. 
  137.  
  138. SEARCH - Find 
  139.  
  140. Searches in the current program window for specified text. You can specify to consider 
  141. upper- and lowercase. <Shift-L> repeats the search. 
  142.  
  143. SEARCH - Replace 
  144.  
  145. Searches in the current program window for specified text and replaces it with new 
  146. text. You can specify to consider upper- and lowercase, to search the entire text 
  147. and to confirm before replacing any text. 
  148.  
  149. SEARCH - Continue 
  150.  
  151. Repeats search/search and replace. 
  152.  
  153. PROFAN - Run (Interpreter) 
  154.  
  155. Runs a PROFAN program with the interpreter. The program will be read from the hard 
  156. drive. If a program is opened in the editor that was not saved in the current version, 
  157. you will be asked if you want to save it now. 
  158.  
  159. PROFAN - Compile 
  160.  
  161. Compiles a PROFAN program (.PRF). The compiler PROFCOMP.EXE has to reside in the 
  162. same directory as the editor. The result is a file with the extension .PRC that 
  163. can be executed by the Runtime Module PROFRUN or any PROFAN-EXE file. The PRC file 
  164. is usually only half the size as the PRF file but much (!) faster. The PRC file 
  165. is in the same directory as the PRF file.
  166.  
  167. PROFAN - Start 
  168.  
  169. The Runtime Module starts and executes a compiled PROFAN program.
  170. PROFRUN.EXE has to reside in the same directory as the editor or in the Windows directory. 
  171.  
  172. PROFAN - Create EXE files 
  173.  
  174. The Runtime Module links a PRC file with a EXE file. The linker PROFLINK.EXE has to reside 
  175. in the same directory as the editor. The EXE file can be executed autonomously in 
  176. Windows. Because the complete RUNTIME module is included it can be used as 
  177. Runtime Module for PRC files. PROFRUN has to reside in the same directory as the 
  178. PRC files! If you develop different programs in different directories, you can 
  179. have one PROFRUN with different ICONS in each directory. 
  180.  
  181. PROFAN - Creating screen saver 
  182.  
  183. A PRC file is linked with the Runtime Module to a SCR file. The linker PROFLINK.EXE 
  184. has to reside in the same directory as the editor. You can embed the SCR file in 
  185. the Windows system control as a screen saver. The name of the screen saver is the 
  186. file name. PROFRUN has to reside in the same directory as the PRC file!
  187.  
  188. HELPER - Database structure 
  189.  
  190. Use this module to define database structures, to save them as structured files 
  191. for the DBCREATE command or to create a table. For more information see the help 
  192. for the module. 
  193.  
  194. HELPER - Edit tables 
  195.  
  196. Use this module to edit any dBase-III compatible table (*.DBF). [*] creates an index 
  197. for each field. The index will be used when searching for an entry with [Search]. 
  198. Without index you can search in every field with [?]. If a table has more than 10 
  199. fields use [½] and [╗] to browse. 
  200.  
  201. HELPER - User menu 
  202.  
  203. You can add an entry to the user menu. Two things are expected: the name of the 
  204. menu entry and the corresponding command line. (To delete menu items, you have 
  205. to edit the file PROFED.INI. The number of menu items has to be adjusted and you 
  206. must delete the corresponding lines.) 
  207.  
  208. OPTIONS - Font ...: 
  209.  
  210. You can select one of five fonts. We recommend the non-proportional fonts ANSI 
  211. or SYSTEM for programming with PROFAN. To edit ASCII text in DOS you must use ASCII. 
  212.  
  213. OPTIONS - Save project 
  214.  
  215. The current desktop (order of the edit window) will be saved with a name of 
  216. your choice (we recommend to use extension .DSK). We also recommend opening all 
  217. files that belong to the same project and minimizing them with the exception 
  218. of the main program and then saving this configuration as a project. If you want 
  219. to continue your work, you can load the project with all its files by calling the 
  220. following program item. 
  221.  
  222. OPTIONS - Load project 
  223.  
  224. Opens a project with all its files. Previously opened files will be closed. 
  225.  
  226. WINDOWS - Tile 
  227.  
  228. The program windows are displayed side by side without overlapping. 
  229.  
  230. WINDOWS - Overlapping 
  231.  
  232. The program windows overlap so that only the title pages are displayed. 
  233.  
  234. WINDOWS - Arrange icons 
  235.  
  236. The icons of the minimized program windows are displayed side by side in a row. 
  237.  
  238. WINDOWS - Close all 
  239.  
  240. Closes all program windows. 
  241.  
  242. WINDOWS - Calculator 
  243.  
  244. Calls the Windows calculator.
  245.  
  246. WINDOWS - Ansi table 
  247.  
  248. Calls an Ansi table. You can insert characters from this table. 
  249.  
  250. WINDOWS - Calendar 
  251.  
  252. Calls the Windows calendar. 
  253.  
  254. WINDOWS - 1 ...  
  255.  
  256. Lists all programs that are currently open. If you expand the editor window to its 
  257. optimal size, use this menu item to switch between the windows. 
  258.  
  259. ? - PROFAN-Help 
  260.  
  261. Calls the complete PROFAN help. This help file contains the complete introduction 
  262. as hypertext as well as the reference with all system variables, functions and 
  263. commands.
  264.  
  265. ? - Reference 
  266.  
  267. The reference explains the complete programming language RGH-PROFAN▓ in the current 
  268. version. In case of doubt this reference is more up to date than the corresponding 
  269. user's guide. You will find a syntax description and quite often examples are provided
  270. for specific functions and commands. 
  271.  
  272. ? - context sensitive help 
  273.  
  274. Displays the help for the highlighted word (command/function/system variable). 
  275. IMPORTANT: You must highlight the word! You can call up context sensitive help
  276. also with <Shift-F1>. 
  277.  
  278. ? - Editor 
  279.  
  280. Help for the developing environment. All menu items are discussed. 
  281.  
  282. ? - Print program 
  283.  
  284. Help for all menu items of the print program.  
  285.  
  286. ? - About 
  287.  
  288. Copyright note: 1992-1995 - Roland G. Hⁿlsmann, Nu▀loch, Germany. 
  289.